﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;

namespace StaticView
{
    // Static Field class
    //      Store coordinates and the data of the document
    class StaticField
    {
        public Vector3 Normal { get; private set; } // Normal vector (unit) of the plane (local z)
        public Vector3 LocalX { get; private set; } // Local x vector (unit) of the document
        public Vector3 Coordinates { get; private set; } // Coordinates of the top-left point
        public IDocument Document { get; private set; }

        public StaticField(Vector3 normal, Vector3 localx, Vector3 coor, IDocument doc)
        {
            Normal = normal;
            LocalX = localx;
            Coordinates = coor;
            Document = doc;
        }
    }
}
